package com.woniu.common.feignClient;

import com.woniu.common.dto.OrderDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "staff-order-server")
public interface OrderFeignClient {
    /**
     * 根据订单id修改订单状态
     * @param orderDto
     * @return
     */
    @PostMapping("/updateOrderStatus")
    Boolean updateOrderStatus(@RequestBody OrderDto orderDto);
}
